package com.ddadmin.modules.budget.controller;

import com.ddadmin.common.web.base.BaseController;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.servlet.ModelAndView;

public class BudgetPrjprepreparationController extends BaseController {

    /**
     * Describe: 基础路径
     */
    private static String MODULE_PATH = "budget/prjpreparation/";

    /**
     * Describe: 获取项目预算编报列表视图
     * Param ModelAndView
     * Return 项目预算编报列表视图
     */
    @GetMapping("main")
    @PreAuthorize("hasPermission('/budget/prjpreparation/main','budget:prjpreparation:main')")
    public ModelAndView main() {
        return JumpPage(MODULE_PATH + "main");
    }
}
